package com.hzit.mmcb.core.service;

import com.hzit.mmcb.core.pojo.entity.BorrowInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hzit.mmcb.core.pojo.vo.BorrowInfoApprovalVO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * <p>
 * 借款信息表 服务类
 * </p>
 *
 * @author ljh
 * @since 2024-08-27
 */
public interface BorrowInfoService extends IService<BorrowInfo> {

    Integer getBorrowInfoStatus(Long userId);

    void saveByForm(BorrowInfo borrowInfo, String token);

    List<BorrowInfo> listAll();

    Map<String, Object> show(Integer id);

    void approval(BorrowInfoApprovalVO vo);
}
